Threaded Behavior Protocols 1

نویسنده

  • Jan Kofroň
چکیده

Component-based development is a well-established methodology of software development. Nevertheless, some of the benefits that the component based development offers are often neglected. One of them is modeling and subsequent analysis of component behavior, which can help establish correctness guarantees, such as absence of composition errors and safety of component updates. We believe that application of component behavior modeling in practice is limited due to huge differences between the behavior modeling languages (e.g., process algebras) and the common implementation languages (e.g., Java). As a result, many concepts of the implementation languages are either very different or completely missing in the behavior modeling languages. As an example, even though behavior modeling languages are practical for modeling and analysis of various message-based protocols, they are not well suited for modeling current component applications, where thread-based parallelism, lock-based synchronization, and nested method calls are the essential building blocks. With this in mind, we propose a new behavior modeling language for software components, Threaded Behavior Protocols (TBP). At the model level, TBP provides developers with the concepts known from the implementation languages and essential to most component applications. In addition, the theoretical framework of TBP provides a notion of correctness based on absence of communication errors and a refinement relation to verify correctness of hierarchical components. The main asset of TBP formalism is that it links together the notion of threads as used in imperative object oriented languages and the notion of refinement. For instance, this allows reasoning about hierarchical components composed of primitive components implemented in Java without the need of bridging abstractions and simplifications enforced by the modeling languages.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Optimistic Recovery in Multi-threaded Distributed Systems

The problem of recovering distributed systems from crash failures has been widely studied in the context of traditional non-threaded processes. However, extending those solutions to the multi-threaded scenario presents new problems. We identify and address these problems for optimistic logging protocols. There are two natural extension to optimistic logging protocols in the multi-threaded scena...

متن کامل

Safe and Timely Dynamic Updates for Multi-threaded Programs

Many dynamic updating systems have been developed that enable a program to be patched while it runs, to fix bugs or add new features. This paper explores techniques for supporting dynamic updates to multi-threaded programs, focusing on the problem of applying an update in a timely fashion while still producing correct behavior. Past work has shown that this tension of safety versus timeliness c...

متن کامل

An Analysis of Blocking vs Non-Blocking Flow Control in On-Chip Networks

High end System-on-Chip (SoC) architectures consist of tens of processing engines. These processing engines have varied traffic profiles consisting of priority traffic that require that the latency of the traffic is minimized, controlled bandwidth traffic that require low service jitter on the throughput, and best effort traffic that can tolerate highly variable service. In this paper, we inves...

متن کامل

Prospective, 1-year observational study of double-threaded tapered body dental implants with immediate loading.

STATEMENT OF PROBLEM Unlike conventional loading protocols, the immediate loading of single implants has not been fully investigated. PURPOSE The purpose of this study was to assess the prosthetic and esthetic periimplant mucosal outcomes of immediately restored dental implants during a 1-year follow-up. MATERIAL AND METHODS Twenty participants meeting the established inclusion criteria rec...

متن کامل

Dynamic modeling of a part mating problem: threaded fastener insertion

A dynamic simulation of threaded insertion is developed based on Euler's equations, impulsive forces, and a geometric description for threaded parts. Points of contact between the threaded parts are determined and tracked during the simulation. Reaction forces are computed based on the contact locations and the velocity constraints given by the kinematic description. The simulation will be used...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2011